<%@ Page Language="C#" Theme="Defaultsys" AutoEventWireup="true" CodeFile="ContactType.aspx.cs"
    Inherits="ContactType" Title="Rapport Plan System - Contact type" MasterPageFile="~/MasterPage.master" %>

<%@ MasterType VirtualPath="~/MasterPage.master" %>
<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1">
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td class="contTable">
                <table>
                    <tr>
                        <td>
                            Contact type:
                        </td>
                        <td style="width: 209px">
                            <asp:TextBox ID="txtContactType" runat="server" Width="200"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtContactType"
                                CssClass="error" ErrorMessage="ContactType is required" SetFocusOnError="True"
                                Display="Dynamic">*</asp:RequiredFieldValidator>
                            <asp:Label ID="lblSteluta" runat="server" Text="*" ForeColor="Red" Visible="False"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3">
                            <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
                            <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click"
                                CausesValidation="False" />
                            <br />
                            <asp:Label ID="lblSavedContactType" runat="server" ForeColor="#FF8000" Text="The contact type was saved successfully"
                                Visible="False"></asp:Label></td>
                    </tr>
                </table>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtContactType"
                    CssClass="error" Display="Dynamic" ErrorMessage="(*)Contact Type is required"
                    SetFocusOnError="True"></asp:RequiredFieldValidator><asp:Label ID="lblTypeExist"
                        runat="server" ForeColor="Red" Text="(*)Contact type already exist" Visible="False"
                        Width="188px"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
